package com.learn.lod.good;

import java.util.ArrayList;
import java.util.List;

/**
 * 员工
 */
public class Employee {
    /**
     * 计算房间
     */
    public void checkRoom() {
        List<Room> rooms = new ArrayList<>();
        for (int i = 0; i < 20; i++) {
            rooms.add(new Room());
        }
        System.out.println("房间数量为：" + rooms.size());
    }
}
